package com.bian.spring.annotation.cd;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author bian
 * @since 1.0
 * 2021/2/4
 */

@Component
public class BClass {

    @Autowired
    private AClass aClass;

    public BClass() {
        System.out.println("BClass...construct");
    }

    public AClass getaClass() {
        return aClass;
    }

    public void setaClass(AClass aClass) {
        this.aClass = aClass;
    }
}
